package com.sc.nft.entity.minimall;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.sc.nft.enums.wallet.MallUserWalletStatus;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城用户钱包
 * </p>
 *
 * @author author
 * @since 2024-05-20
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_mall_user_wallet")
@ApiModel(value="ScMallUserWallet对象", description="商城用户钱包")
public class MallUserWallet extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "小程序用户Id")
    private Long miniUserId;

    @ApiModelProperty(value = "总收益")
    private BigDecimal sumIncome;

    @ApiModelProperty(value = "余额")
    private BigDecimal balance;

    @ApiModelProperty(value = "提现中金额")
    private BigDecimal withdrawingAmount;

    @ApiModelProperty(value = "总提现金额")
    private BigDecimal sumWithdraw;

    @ApiModelProperty(value = "钱包状态:0-正常,-1-禁用")
    private MallUserWalletStatus status;
}
